Statistical Programming in R
| Day | Weekday | Where? | Time | What? | Topic |
|---|---|---|---|---|---|
| Day 1 | Tuesday | Ruppert 011 | 09:00 - 09:30 | Lecture 1 | Introduction to R and RStudio |
| Tuesday | Ruppert 011 | 09:30 - 10:45 | Practical 1 | Starting to script with R |
|
| Tuesday | Ruppert 011 | 11:00 - 11:30 | Lecture 2 | How is R organized |
|
| Tuesday | Ruppert 011 | 11.45 - 12:45 | Practical 2 | Creating and manipulating objects in R |
|
| Day 2 | Wednesday | Ruppert 002 | 09:00 - 10:45 | Lecture 3 | Statistical modeling in R |
| Wednesday | Ruppert 002 | 11:00 - 12:45 | Practical 3 | Regression, Anova and all other things least squared |
and build the foundation for a succesfull scripting career
R is a language and environment for statistical computing and for graphics
GNU project (100% free software)
Managed by the R Foundation for Statistical Computing, Vienna, Austria.
Community-driven
Based on the object-oriented language S (1975)
R works with objects that consist of elements. The smallest elements are numbers and characters.
R Archive Network (CRAN) and is aimed at R users, must be accompanied by a help file.anova(), then you just type ?anova or help(anova) in the console.If you do not know the name of the function: type ?? followed by your search criterion. For example ??anova returns a list of all help pages that contain the word ‘anova’
Google can be of tremendous help.
R related issues; use ‘R:’ as a prefix in your search termAssigning things in R is very straightforward:
<-For example, if you assign the value 100 (an element) to object a, you would type
a <- 100
Calling things in R is also very straightforward:
For example, we assigned the value 100 to object a. To call object a, we would type
a
## [1] 100
This is why we use R-Studio.